<div class="BlockBar">
    <?php echo CHtml::activeLabel($model, 'config_add_title'); ?></div>
<?php $form = $this->beginWidget('CActiveForm', array('id' => 'config-form', 'enableAjaxValidation' => true)); ?>
<table width="100%" cellpadding="4" cellspacing="1" class="tab">
    <tr class="row">
        <td width="11%" class="align-right"><?php echo $form->labelEx($model, 'config_name'); ?>:</td>
        <td width="89%" ><?php echo $form->textField($model, 'config_name', array('size' => 40, 'maxlength' => 30)); ?><?php echo $form->error($model, 'config_name'); ?></td>
    </tr>
    <tr class="row">
        <td class="align-right"><?php echo $form->labelEx($model, 'config_value'); ?>:</td>
        <td class="align-left"><?php echo $form->textField($model, 'config_value', array('size' => 40, 'maxlength' => 255)); ?><?php echo $form->error($model, 'config_value'); ?></td>
    </tr>
    <tr class="row">
        <td class="align-right"><?php echo $form->labelEx($model, 'config_description'); ?>:</td>
        <td class="align-left"><?php echo $form->textArea($model, 'config_description', array('cols' => 38, 'maxlength' => 250)); ?><?php echo $form->error($model, 'config_description'); ?></td>
    </tr>
    <tr class="rows">
        <td class="rows"></td>
        <td class="rows" class="align-left"><?php echo CHtml::submitButton(Yii::t('app', '提 交'), array('class' => 'btn')); ?> <?php echo CHtml::button(Yii::t('app', '返回列表'), array('class' => 'btn back', 'url' => $this->createUrl('index'))); ?></td>
    </tr>
</table>
<?php $this->endWidget(); ?>